package org.example;

import javax.swing.*;

public class Main {
    public static void main(String[] args) {
        JFrame frame = new JFrame("下载工具");
        JPanel rootPane = new MainFrame().mainPanel;
        frame.setContentPane(rootPane);

        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        frame.pack();

        frame.setSize(800, 640);
        frame.setLocationRelativeTo(rootPane);
        frame.setVisible(true);
    }
}
